package com.zym.schedule;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

@EnableScheduling
@Configuration
@EnableAsync
public class task {

    @Scheduled(cron = "0 06 13 21  * ?")
    public void task1(){
        System.out.println("执行了");
    }
}
